.topbar{
  background:#fff6f1;
  border-bottom:1px solid #ffd2b3;
  box-shadow:0 2px 6px rgba(0,0,0,.05);
  width:100%;
  padding:10px 16px;
  display:flex; align-items:center;
}
.topbar { position: sticky; top:0; z-index:100; }

.topbar > * { flex-shrink:0; }     
.logo-area { display:flex; align-items:center; gap:.6rem; }
.nav-top { margin-left:auto; }

.logo-area{
  display: flex;
  align-items: center;
  gap: .6rem;
}
.logo-mini{
  width: 40px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.grupo{
  font-weight: 700;
  color: #5a2a1e;
}


.nav-top{
  margin-left: auto;   
}
.nav-top ul{
  list-style: none;
  display: flex;
  gap: 2rem;         
  margin: 0;
  padding: 0;
}
.nav-top a{
  text-decoration: none;
  font-weight: 600;
  color: #5a2a1e;
  transition: color .25s, transform .25s;
}
.nav-top a:hover{
  color: #ff8b5c;
  transform: translateY(-2px);
}


.page{
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
}
.integrantes{ padding-top: 1rem; }


:root {
  --bg: #fff6f1;
  --accent: #ff9f6e;
  --text: #4a2e2b;
  --card-bg: #ffffff;
  --footer-bg: #ffe0c7;
}


body {
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}


img { max-width: 100%; height: auto; display: block; }


.site-header{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 0 0;
  margin-bottom: 1.5rem;
}


.logo{
  width: clamp(120px, 18vw, 220px); 
  height: auto;
  border-radius: 14px;               
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}


.header-text h1{
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  margin: 0;
  color: var(--text);
  font-weight: 700;
}
.header-text h2{
  font-size: clamp(.9rem, 1.7vw, 1rem);
  margin: 0;
  color: #7a5b5a;
}



.datos-academicos {
  font-size: 0.8rem;
  max-width: 1100px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 2rem;
}

.datos-columna {
  padding: 1.8rem;    
  border: 2px solid #f4a261;
  border-radius: 12px;
  background-color: #fffaf7;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.datos-columna:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}



.site-footer {
  background: var(--footer-bg);
  color: var(--text);
  font-size: 0.7rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 3rem;
  padding: 2rem 0;
}

.site-footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

.site-footer .footer-col p {
  margin: .5rem 0;
  line-height: 1.5;
}


.integrantes{
  text-align: center;
  padding: 3rem 0 2rem;
}

.integrantes h2{
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 1.6rem;
  letter-spacing: .3px;
}

.cards-integrantes{
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}


.card-integrante{
  width: 220px;                 
  background: #fff;
  border: 1.5px solid #ffd2b3;  
  border-radius: 16px;
  padding: 1.1rem 1rem 1.2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card-integrante:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 22px rgba(0,0,0,.10);
  border-color: var(--accent); 
}


.avatar{
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffe6d6;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  margin-bottom: .9rem;
}

.avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.avatar.placeholder{
  background: linear-gradient(135deg, #cfeee2, #ffe9da);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar.placeholder i{
  font-size: 1.8rem;
  color: #ff9f6e; 
}


.card-integrante h3{
  font-size: 1.02rem;
  margin: .2rem 0 .2rem;
  color: var(--text);
}

.card-integrante .rol{
  font-size: .9rem;
  color: #7a5b5a;
  margin: 0 0 .8rem;
}


.card-integrante .cta{
  display: inline-block;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: #b8e0d2;           
  color: var(--text);
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.08) inset;
  transition: background .25s ease, transform .25s ease;
}

.card-integrante:hover .cta{
  background: #ffd0b6;             
  transform: translateY(-1px);
}


@media (max-width: 720px){
  .card-integrante{ width: 46%; }
}
@media (max-width: 520px){
  .card-integrante{ width: 92%; }
}
